package com.oa.ylms.apps.dao.regulations;

import java.util.List;

import com.oa.ylms.apps.entity.archives.ArchiveInfoValue;
import com.oa.ylms.apps.entity.regulations.RegulationInfoValue;

public interface IRegulationInfoDao {

	
   public int addRegulationInfo(RegulationInfoValue regulationInfo) throws Exception;

   public RegulationInfoValue qureyRegulationById(RegulationInfoValue regulationInfo) throws Exception;

   public List<RegulationInfoValue> qureyTopRegulation (int topNum) throws Exception;

   public List<RegulationInfoValue> qureyRegulationsWithPage(final RegulationInfoValue regulationInfo, final ArchiveInfoValue archiveInfo, final int rows,final int pageNo) throws Exception;

   public int countTPages(final RegulationInfoValue regulationInfo, final ArchiveInfoValue archiveInfo, int rows)throws Exception;

   public boolean modifyRegulationInfo(RegulationInfoValue regulationInfo)throws Exception;
   
   public boolean deleteRegulationInfo(RegulationInfoValue regulationInfo)throws Exception;
   
   public int getTotalNumbers() throws Exception;


}
